<%
  if (session.getAttribute("userName") == null)
  {
    out.clearBuffer();
    %>
    <html>
      <head>
        <script type='text/javascript'>
          location.href='logout.jsp'
        </script>
      </head>
      <body>
      </body>
    </html>
    <%
    return;
  }
%>
